package com.ruoyi.user.domain;

import java.util.Date;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ruoyi.common.annotation.Excel;

import lombok.Data;
import lombok.EqualsAndHashCode;
/**
 * 用户档案管理对象 t_file_management
 * 
 * @author DEREK
 * @date 2023-08-04
 */
@Data
@EqualsAndHashCode(callSuper=false)
@TableName("t_file_management")
public class FileManagement
{

    /** 主键ID */
	@TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /** 用户id */
    @Excel(name = "用户id")
    private Long userId;

    /** 姓名 */
    @Excel(name = "姓名")
    private String name;

    /** 性别 F=女 M=男 */
    @Excel(name = "性别 F=女 M=男")
    private String sex;

    /** 出生日期 */
    @Excel(name = "出生日期")
    private String birthday;

    /** 出生地点 */
    @Excel(name = "出生地点")
    private String address;

    /** 关系 */
    @Excel(name = "关系")
    private String relation;

    private Date createTime;
    
    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("userId", getUserId())
            .append("name", getName())
            .append("sex", getSex())
            .append("birthday", getBirthday())
            .append("address", getAddress())
            .append("relation", getRelation())
            .append("createTime", getCreateTime())
            .toString();
    }
}
